package com.niiwoo.civet.trade.dao.mapper;

import com.niiwoo.civet.trade.dao.entity.KaoLaInvestor;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author liming
 * @date 2017-12-25 18:22
 */
public interface KaoLaInvestorMapperExt extends KaoLaInvestorMapper{
    List<KaoLaInvestor> selectByProjectId(@Param("projectId") Long projectId);

    List<KaoLaInvestor> selectPageByProjectId(@Param("projectId") Long projectId, @Param("offset") int offset, @Param("pageSize") int pageSize);

    Integer queryTotalInvestmentRecord(@Param("projectId") Long projectId);
}
